<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 12-10-11
  Time: 下午4:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://jchome.jsprun.com/jch" prefix="jch"%>
<jsp:include page="${jch:template(sConfig, sGlobal, 'header.jsp')}" />
<c:set var="accountmoney" scope="page" value="${(sGlobal.member.account+sGlobal.member.businessaccount)/100}"/>
<form method="post" action="do.jsp?ac=buypic" class="c_form">
	<table cellpadding="0" cellspacing="0" class="formtable">
		<caption>
			<h2>支付金币</h2>
			<p>您需要支付${invalue.money/100}金币后才能继续查看相册 <a href="space.jsp?do=album&view=${view}">返回</a> </p>
		</caption>
		<tr>
			<th width="100"></th>
			<td>您的账户当前${accountmoney}金币个，<a href="">充值金币</a>。
            <br>
            </td>

		</tr>
		<tr>
			<th>&nbsp;</th>
			<td>
                <c:choose>
                    <c:when test="${accountmoney>(invalue.money/100)}">
                        <input type="hidden" name="refer" value="${requestURI}" />
                        <input type="hidden" name="blogid" value="${invalue.blogid}" />
                        <input type="hidden" name="albumid" value="${invalue.albumid}" />
                        <input type="hidden" name="buypicSubmit" value="true" />
                        <input type="submit" name="submit" value="支付" class="submit" />
                    </c:when>
                    <c:otherwise>
                        <span>&nbsp;</span>
                        <span>&nbsp;</span>
                         金币不足，请先充值！
                    </c:otherwise>
                </c:choose>
			</td>
		</tr>
	</table>
	<input type="hidden" name="formhash" value="${jch:formHash(sGlobal,sConfig,false)}" />
</form>
<jsp:include page="${jch:template(sConfig, sGlobal, 'footer.jsp')}" />